<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,maximum-scale=1.0" />
    <title>详情会员订单</title>
<#include "/view/admin/head.html"/>





    <style type="text/css">
        .list-path {
            height: 50px;
            line-height: 50px;
            background-color: #9acfea;
        }

        .table-class {
            width: 90%;
            text-align: center;
            border: 1px solid #afd9ee;
            margin: 0 auto;
            margin-top: 50px;
        }

        table th {
            width: 20%;
            background-color: #d9edf7;
            text-align: right;
        }

        table td {
            width: 20%;
            text-align: left;
        }


    </style>
    <script type="text/javascript">

        $(function(){



        });

    </script>
</head>
<body>

<#include "/view/admin/listnav.html"/>


<div class="table-class">
<#include "/view/admin/opermsg.html"/>
        <table class="table table-bordered">

                <tr>
                <th>主键</th>
                <td>
                    ${entity.tordermemberId!}
                </td>
                


                
                <th>订单编号</th>
                <td>
                    ${entity.orderCode!}
                </td>
                </tr>


                <tr>
                <th>用户</th>
                <td>
                        <#if entity.userinfoId??>
                            <#list listUserinfoId as lv>
                            <#if lv.value??&&entity.userinfoId == lv.value >
                            ${lv.name!}
                            </#if>
                            </#list>

                        </#if>
                </td>
                


                






                <th>订单类别</th>
                <td>
                        <#if entity.orderType??>
                                    <#if entity.orderType==1>活动
                                    <#elseif entity.orderType==2>商品
                                    <#elseif entity.orderType==3>会员
                                    </#if>

                        </#if>
                </td>
                </tr>


                <tr>
                <th>总金额</th>
                <td>
                    ${entity.totalAmount!}
                </td>



                <th>订单状态</th>
                <td>
                        <#if entity.status??>
                                    <#if entity.status==3>未开始
                                    <#elseif entity.status==4>未使用
                                    <#elseif entity.status==5>已使用
                                    <#elseif entity.status==6>已过期
                                    <#elseif entity.status==0>待支付
                                    <#elseif entity.status==1>支付成功
                                    <#elseif entity.status==2>支付失败
                                    <#elseif entity.status==7>待收货
                                    <#elseif entity.status==8>已完成
                                    <#elseif entity.status==9>已关闭
                                    <#elseif entity.status==10>等待退款
                                    <#elseif entity.status==11>已退款
                                    <#elseif entity.status==11>已领取
                                    <#elseif entity.status==12>未领取
                                    </#if>

                        </#if>
                </td>
        </tr>


            <tr>
                <th>下单时间</th>
                <td>
                    <#if (entity.createTime)?? >${entity.createTime?string('yyyy-MM-dd HH:mm:ss')}</#if>
                </td>




                <th>备注</th>
                <td>
                    ${entity.remark!}
                </td>
                </tr>

            <tr>


                <th>数量</th>
                <td>
                    ${entityDetail.amount!}
                </td>


                <th>销售价格</th>
                <td>
                    ${entityDetail.salePrice!}
                </td>

            </tr>

            <tr>
                <td colspan="4" width="100%" style="text-align: center;">
                    <!--<a href="${base}/czjtordermember/add.do?tordermemberId=${entity.tordermemberId!}" class="btn btn-success "  >修改</a>-->
                    <!--<span style="width: 20px;">&nbsp;</span>-->
                    <a class="btn btn-danger " href="javascript:window.history.go(-1)">
                        </span>返回</a>
                </td>
            </tr>

        </table>
    </form>




</div>

<script type="text/javascript">

</script>


</body>
</html>
